package cn.wsn2018.tools.dao;

import cn.wsn2018.tools.model.Design.ProtocolDesign;

import java.util.List;

/**
 * Created by NZX on 2018/12/13.
 */
public interface ProtocolDesignDao {
    String saveProtocolDesign(ProtocolDesign protocolDesign);
    ProtocolDesign getProtocolDesign(String id);
    List<ProtocolDesign> getProtocolDesigns(String username,String pageNum,String pageSize);
    boolean updateProtocolDesign(ProtocolDesign protocolDesign);
    boolean deleteProtocolDesign(String id);
    int deleteProtocolDesigns(List<String> idList);

}
